package br.eti.robsonfranca.clf4j.impl.win;

import com.sun.jna.Structure;

public class ConsoleScreenBufferInfo extends Structure {
	/*
	 * typedef struct _CONSOLE_SCREEN_BUFFER_INFO {
  COORD      dwSize;
  COORD      dwCursorPosition;
  WORD       wAttributes;
  SMALL_RECT srWindow;
  COORD      dwMaximumWindowSize;
} CONSOLE_SCREEN_BUFFER_INFO;
	 */
	public Coord dwSize;
	public Coord dwCursorPosition;
	public short wAttributes;
	public SmallRect srWindow;
	public Coord dwMaximumWindowSize;
	public static class ByValue extends ConsoleScreenBufferInfo implements Structure.ByValue { }; 
	
	public ConsoleScreenBufferInfo() {
		dwSize = new Coord();
		dwCursorPosition = new Coord();
		srWindow = new SmallRect();
		dwMaximumWindowSize = new Coord();
	}
}
